export interface MenuForm{
    menuId?:number;
    parentId:string[];
    menuType:number;
    menuName:string;
    icon?:string;
    path:string;
    menuCode:string;
    component?:string;
    menuState:number;
    createTime?:Date;
    updateTime?:Date;
}

// 列表查询参数
export interface MenuParams {
    menuName:string;
    menuState:number;
}
// 权限
interface Authority{
    createTime:Date;
    menuCode:string;
    menuName:string;
    menuType:number;
    parentId:string[];
    updateTime:Date;
    _id:string;
}
export interface MenuRow extends MenuForm{
    children?:Authority[];
    action?:Authority[];
}

// 删除参数
export interface menuDelete{
    id:number;
}